package com.platform.wechat.mapper;

import com.platform.wechat.entity.WxUser;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface WxUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WxUser record);

    int insertSelective(WxUser record);

    WxUser selectByPrimaryKey(Integer id);

    WxUser selectByOpenid(String openid);

    int updateByPrimaryKeySelective(WxUser record);

    int updateByPrimaryKeyOpenid(WxUser record);

    int updateByPrimaryKey(WxUser record);

    List<WxUser> selectWxUserList();
}